<script setup lang="ts">
import {ref} from 'vue'
import type {Ref} from 'vue'
let value : Ref<string> = ref('')


</script>

<template>
    <div>
        <header>
            <van-icon name="arrow-left" size="20" class="back" @click="$router.back()" />
            <span>
                修改昵称
            </span>

            <span>保存</span>
        </header>
        <van-cell-group inset>
            <van-field v-model="value" label="昵称" placeholder="请输入要修改的昵称" />
        </van-cell-group>
    </div>
</template>
<style scoped lang="scss">
header{
    padding: 0 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 0.44rem;
    font-size: 14px;
}
.van-cell-group{
    margin-top: 30px;
}
</style>